// data.js
window.phoneticData = [
    // 短元音 (7个)
    {
      name: "短元音",
      symbols: [
        { id: "ɪ", symbol: "ɪ", audio: "audio/ɪ.mp3", gif: "gifs/ɪ.gif",
          examples: [
            { text: "sit", transcription: "sɪt" },
            { text: "big", transcription: "bɪɡ" }
          ]},
        { id: "e", symbol: "e", audio: "audio/e.mp3", gif: "gifs/e.gif",
          examples: [
            { text: "bed", transcription: "bed" },
            { text: "red", transcription: "red" }
          ]},
        { id: "æ", symbol: "æ", audio: "audio/æ.mp3", gif: "gifs/æ.gif",
          examples: [
            { text: "cat", transcription: "kæt" },
            { text: "hat", transcription: "hæt" }
          ]},
        { id: "ʌ", symbol: "ʌ", audio: "audio/ʌ.mp3", gif: "gifs/ʌ.gif",
          examples: [
            { text: "cup", transcription: "kʌp" },
            { text: "luck", transcription: "lʌk" }
          ]},
        { id: "ɒ", symbol: "ɒ", audio: "audio/ɒ.mp3", gif: "gifs/ɒ.gif",
          examples: [
            { text: "hot", transcription: "hɒt" },
            { text: "clock", transcription: "klɒk" }
          ]},
        { id: "ʊ", symbol: "ʊ", audio: "audio/ʊ.mp3", gif: "gifs/ʊ.gif",
          examples: [
            { text: "put", transcription: "pʊt" },
            { text: "book", transcription: "bʊk" }
          ]},
        { id: "ə", symbol: "ə", audio: "audio/ə.mp3", gif: "gifs/ə.gif",
          examples: [
            { text: "about", transcription: "əˈbaʊt" },
            { text: "sofa", transcription: "ˈsəʊfə" }
          ]}
      ]
    },
  
    // 长元音 (5个)
    {
      name: "长元音",
      symbols: [
        { id: "iː", symbol: "iː", audio: "audio/iː.mp3", gif: "gifs/iː.gif",
          examples: [
            { text: "see", transcription: "siː" },
            { text: "tea", transcription: "tiː" }
          ]},
        { id: "ɑː", symbol: "ɑː", audio: "audio/ɑː.mp3", gif: "gifs/ɑː.gif",
          examples: [
            { text: "car", transcription: "kɑː" },
            { text: "father", transcription: "ˈfɑːðə" }
          ]},
        { id: "ɔː", symbol: "ɔː", audio: "audio/ɔː.mp3", gif: "gifs/ɔː.gif",
          examples: [
            { text: "door", transcription: "dɔː" },
            { text: "law", transcription: "lɔː" }
          ]},
        { id: "uː", symbol: "uː", audio: "audio/uː.mp3", gif: "gifs/uː.gif",
          examples: [
            { text: "blue", transcription: "bluː" },
            { text: "food", transcription: "fuːd" }
          ]},
        { id: "ɜː", symbol: "ɜː", audio: "audio/ɜː.mp3", gif: "gifs/ɜː.gif",
          examples: [
            { text: "bird", transcription: "bɜːd" },
            { text: "learn", transcription: "lɜːn" }
          ]}
      ]
    },
  
    // 双元音 (8个)
    {
      name: "双元音",
      symbols: [
        { id: "eɪ", symbol: "eɪ", audio: "audio/eɪ.mp3", gif: "gifs/eɪ.gif",
          examples: [
            { text: "day", transcription: "deɪ" },
            { text: "cake", transcription: "keɪk" }
          ]},
        { id: "aɪ", symbol: "aɪ", audio: "audio/aɪ.mp3", gif: "gifs/aɪ.gif",
          examples: [
            { text: "my", transcription: "maɪ" },
            { text: "time", transcription: "taɪm" }
          ]},
        { id: "ɔɪ", symbol: "ɔɪ", audio: "audio/ɔɪ.mp3", gif: "gifs/ɔɪ.gif",
          examples: [
            { text: "boy", transcription: "bɔɪ" },
            { text: "cɔɪn", transcription: "kɔɪn" }
          ]},
        { id: "aʊ", symbol: "aʊ", audio: "audio/aʊ.mp3", gif: "gifs/aʊ.gif",
          examples: [
            { text: "now", transcription: "naʊ" },
            { text: "cow", transcription: "kaʊ" }
          ]},
        { id: "əʊ", symbol: "əʊ", audio: "audio/əʊ.mp3", gif: "gifs/əʊ.gif",
          examples: [
            { text: "go", transcription: "ɡəʊ" },
            { text: "home", transcription: "həʊm" }
          ]},
        { id: "ɪə", symbol: "ɪə", audio: "audio/ɪə.mp3", gif: "gifs/ɪə.gif",
          examples: [
            { text: "ear", transcription: "ɪə" },
            { text: "beer", transcription: "bɪə" }
          ]},
        { id: "eə", symbol: "eə", audio: "audio/eə.mp3", gif: "gifs/eə.gif",
          examples: [
            { text: "air", transcription: "eə" },
            { text: "bear", transcription: "beə" }
          ]},
        { id: "ʊə", symbol: "ʊə", audio: "audio/ʊə.mp3", gif: "gifs/ʊə.gif",
          examples: [
            { text: "tour", transcription: "tʊə" },
            { text: "sure", transcription: "ʃʊə" }
          ]}
      ]
    },
  
    // 清辅音 (11个)
    {
      name: "清辅音",
      symbols: [
        { id: "p", symbol: "p", audio: "audio/p.mp3", gif: "gifs/p.gif",
          examples: [
            { text: "pen", transcription: "pen" },
            { text: "top", transcription: "tɒp" }
          ]},
        { id: "t", symbol: "t", audio: "audio/t.mp3", gif: "gifs/t.gif",
          examples: [
            { text: "tea", transcription: "tiː" },
            { text: "cat", transcription: "kæt" }
          ]},
        { id: "k", symbol: "k", audio: "audio/k.mp3", gif: "gifs/k.gif",
          examples: [
            { text: "key", transcription: "kiː" },
            { text: "back", transcription: "bæk" }
          ]},
        { id: "f", symbol: "f", audio: "audio/f.mp3", gif: "gifs/f.gif",
          examples: [
            { text: "fish", transcription: "fɪʃ" },
            { text: "leaf", transcription: "liːf" }
          ]},
        { id: "θ", symbol: "θ", audio: "audio/θ.mp3", gif: "gifs/θ.gif",
          examples: [
            { text: "think", transcription: "θɪŋk" },
            { text: "bath", transcription: "bɑːθ" }
          ]},
        { id: "s", symbol: "s", audio: "audio/s.mp3", gif: "gifs/s.gif",
          examples: [
            { text: "sun", transcription: "sʌn" },
            { text: "ice", transcription: "aɪs" }
          ]},
        { id: "ʃ", symbol: "ʃ", audio: "audio/ʃ.mp3", gif: "gifs/ʃ.gif",
          examples: [
            { text: "she", transcription: "ʃiː" },
            { text: "wish", transcription: "wɪʃ" }
          ]},
        { id: "tʃ", symbol: "tʃ", audio: "audio/tʃ.mp3", gif: "gifs/tʃ.gif",
          examples: [
            { text: "chat", transcription: "tʃæt" },
            { text: "watch", transcription: "wɒtʃ" }
          ]},
        { id: "h", symbol: "h", audio: "audio/h.mp3", gif: "gifs/h.gif",
          examples: [
            { text: "hat", transcription: "hæt" },
            { text: "hello", transcription: "həˈləʊ" }
          ]},
        { id: "ts", symbol: "ts", audio: "audio/ts.mp3", gif: "gifs/ts.gif",
          examples: [
            { text: "cats", transcription: "kæts" },
            { text: "hats", transcription: "hæts" }
          ]},
        { id: "tr", symbol: "tr", audio: "audio/tr.mp3", gif: "gifs/tr.gif",
          examples: [
            { text: "tree", transcription: "triː" },
            { text: "trip", transcription: "trɪp" }
          ]}
      ]
    },
  
    // 浊辅音 (17个)
    {
      name: "浊辅音",
      symbols: [
        { id: "b", symbol: "b", audio: "audio/b.mp3", gif: "gifs/b.gif",
          examples: [
            { text: "boy", transcription: "bɔɪ" },
            { text: "rub", transcription: "rʌb" }
          ]},
        { id: "d", symbol: "d", audio: "audio/d.mp3", gif: "gifs/d.gif",
          examples: [
            { text: "dog", transcription: "dɒɡ" },
            { text: "red", transcription: "red" }
          ]},
        { id: "g", symbol: "ɡ", audio: "audio/g.mp3", gif: "gifs/g.gif",
          examples: [
            { text: "go", transcription: "ɡəʊ" },
            { text: "bag", transcription: "bæɡ" }
          ]},
        { id: "v", symbol: "v", audio: "audio/v.mp3", gif: "gifs/v.gif",
          examples: [
            { text: "van", transcription: "væn" },
            { text: "love", transcription: "lʌv" }
          ]},
        { id: "ð", symbol: "ð", audio: "audio/ð.mp3", gif: "gifs/ð.gif",
          examples: [
            { text: "this", transcription: "ðɪs" },
            { text: "mother", transcription: "ˈmʌðə" }
          ]},
        { id: "z", symbol: "z", audio: "audio/z.mp3", gif: "gifs/z.gif",
          examples: [
            { text: "zoo", transcription: "zuː" },
            { text: "buzz", transcription: "bʌz" }
          ]},
        { id: "ʒ", symbol: "ʒ", audio: "audio/ʒ.mp3", gif: "gifs/ʒ.gif",
          examples: [
            { text: "pleasure", transcription: "ˈpleʒə" },
            { text: "vision", transcription: "ˈvɪʒən" }
          ]},
        { id: "dʒ", symbol: "dʒ", audio: "audio/dʒ.mp3", gif: "gifs/dʒ.gif",
          examples: [
            { text: "jump", transcription: "dʒʌmp" },
            { text: "bridge", transcription: "brɪdʒ" }
          ]},
        { id: "m", symbol: "m", audio: "audio/m.mp3", gif: "gifs/m.gif",
          examples: [
            { text: "man", transcription: "mæn" },
            { text: "ham", transcription: "hæm" }
          ]},
        { id: "n", symbol: "n", audio: "audio/n.mp3", gif: "gifs/n.gif",
          examples: [
            { text: "no", transcription: "nəʊ" },
            { text: "ten", transcription: "ten" }
          ]},
        { id: "ŋ", symbol: "ŋ", audio: "audio/ŋ.mp3", gif: "gifs/ŋ.gif",
          examples: [
            { text: "sing", transcription: "sɪŋ" },
            { text: "long", transcription: "lɒŋ" }
          ]},
        { id: "l", symbol: "l", audio: "audio/l.mp3", gif: "gifs/l.gif",
          examples: [
            { text: "leg", transcription: "leɡ" },
            { text: "ball", transcription: "bɔːl" }
          ]},
        { id: "r", symbol: "r", audio: "audio/r.mp3", gif: "gifs/r.gif",
          examples: [
            { text: "red", transcription: "red" },
            { text: "car", transcription: "kɑː" }
          ]},
        { id: "w", symbol: "w", audio: "audio/w.mp3", gif: "gifs/w.gif",
          examples: [
            { text: "we", transcription: "wiː" },
            { text: "queen", transcription: "kwiːn" }
          ]},
        { id: "j", symbol: "j", audio: "audio/j.mp3", gif: "gifs/j.gif",
          examples: [
            { text: "yes", transcription: "jes" },
            { text: "cute", transcription: "kjuːt" }
          ]},
        { id: "dz", symbol: "dz", audio: "audio/dz.mp3", gif: "gifs/dz.gif",
          examples: [
            { text: "beds", transcription: "bedz" },
            { text: "cards", transcription: "kɑːdz" }
          ]},
        { id: "dr", symbol: "dr", audio: "audio/dr.mp3", gif: "gifs/dr.gif",
          examples: [
            { text: "drive", transcription: "draɪv" },
            { text: "dream", transcription: "driːm" }
          ]}
      ]
    }
  ];